//
//  XLProfileTextCellModel.h
//  Mine
//
//  Created by 于鹏 on 2017/8/30.
//  Copyright © 2017年 YIVIEW. All rights reserved.
//  个人简介文本model

#import <XLBaseModule/XLBaseCellModel.h>
#define XLP_kTextLeftNormalMargin 40.0     //文本距离左边正常距离
#define XLP_kdetailLeftNormalMargin XLP_kTextLeftNormalMargin   //描述文本离左边的边距
#define XLP_kTextLeftTopGrid 10.0   //描述文本离左边顶格时的边距
#define XLP_kTextRightMargin 10.0   //描述文本离右边的边距

#define XLP_kLabelMargin    10.0  //label间隔
//#define XL_kLabelVerticalInset 10.0 //lable距离containerView上下距离
//#define XL_kCellMargin 10.0        //containerView距离cell的边距
#define XLP_kContainerInset 10.0        //containerView距离cell的边距



typedef NS_ENUM(NSInteger, XLPCellHeightType){
    XLPCellHeightTypeTitle = 0, //只有一行标题/标题+右标题
    XLPCellHeightTypeDetail = 1 //两行内容
    
};
@interface XLProfileTextCellModel : XLBaseCellModel
@property (nonatomic, assign)XLPCellHeightType cellHeightType;

@property (nonatomic, copy)NSString *title;        //cell标题(左边)
@property (nonatomic, copy)NSString *detailText;   //描述
@property (nonatomic, assign)BOOL isTopGrid;       //标题是否顶格

@property (nonatomic, strong)UIFont *titleFont; //标题font
@property (nonatomic, strong)UIColor *titleColor;//标题color
@property (nonatomic, strong)UIFont *detailFont; //描述font
@property (nonatomic, strong)UIColor *detailColor;//描述color
- (instancetype)initWithTitle:(NSString *)title detailText:(NSString *)detailText;
+ (instancetype)modelWithTitle:(NSString *)title detailText:(NSString *)detailText;

@end
